package com.app.studyroom.api.model.ssrUser;

public class UserUpdateRequest {

    private Long id;            // 用户ID，必填
    private String userName;    // 姓名
    private String userZjh;     // 证件号
    private String userSjh;     // 手机号
    private String userNumber;  // 学号
    private String userBs;      // 用户角色（如用户/管理员）
    private String qy;          // 区域
    private String userPassword;//修改密码
    private String isBooking;
    private String icId;
    private String isGraduate;
    private String classNum;

    public String getClassNum() {
        return classNum;
    }

    public void setClassNum(String classNum) {
        this.classNum = classNum;
    }

    public String getIsGraduate() {
        return isGraduate;
    }

    public void setIsGraduate(String isGraduate) {
        this.isGraduate = isGraduate;
    }

    public String getIcId() {
        return icId;
    }

    public void setIcId(String icId) {
        this.icId = icId;
    }

    public String getIsBooking() {
        return isBooking;
    }

    public void setIsBooking(String isBooking) {
        this.isBooking = isBooking;
    }

    public String getUserPassword() {
        return userPassword;
    }

    public void setUserPassword(String userPassword) {
        this.userPassword = userPassword;
    }

    private String userImage;


    public UserUpdateRequest() {
    }

    public UserUpdateRequest(Long id, String userName, String userZjh, String userSjh, String userNumber, String userBs, String qy) {
        this.id = id;
        this.userName = userName;
        this.userZjh = userZjh;
        this.userSjh = userSjh;
        this.userNumber = userNumber;
        this.userBs = userBs;
        this.qy = qy;
    }
    public UserUpdateRequest(Long id, String isBooking, String isGraduate) {
        this.id = id;
        this.isBooking = isBooking;
        this.isGraduate = isGraduate;
    }


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getUserZjh() {
        return userZjh;
    }

    public void setUserZjh(String userZjh) {
        this.userZjh = userZjh;
    }

    public String getUserSjh() {
        return userSjh;
    }

    public void setUserSjh(String userSjh) {
        this.userSjh = userSjh;
    }

    public String getUserNumber() {
        return userNumber;
    }

    public void setUserNumber(String userNumber) {
        this.userNumber = userNumber;
    }

    public String getUserBs() {
        return userBs;
    }

    public void setUserBs(String userBs) {
        this.userBs = userBs;
    }

    public String getQy() {
        return qy;
    }

    public void setQy(String qy) {
        this.qy = qy;
    }

    public String getUserImage() {
        return userImage;
    }

    public void setUserImage(String userImage) {
        this.userImage = userImage;
    }

    public boolean onlyHasId() {
        return userName == null && userZjh == null && userSjh == null &&
                userNumber == null && userBs == null && qy == null && userImage == null;
    }

}
